package icu.wangrui.bookstore.service;
/**
 * @Author 王锐
 * @Date 2020/4/26 0026 13:30
 * @Description This is description of class
 * @Since version-1.0
 */
import icu.wangrui.bookstore.pojo.User;


public interface IUserService {
    User queryUserByName(String uname, String upwd);

    boolean userRegister(User user);
    /*检查电话用户名是否重复*/
    Boolean checkUserByName(String uname);
    /*检查电话号码是否重复*/
    Boolean checkUserByPhone(String phone);
    /*检查邮箱是否存在*/
    User checkUserByEmail(String email);
    /*修改密码*/
    Boolean updateUserPasswordbyPhone(String phone, String cpwd);
}
